﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Gao.Poker.Domain;

namespace Gao.Poker.Services
{
    public class SendSmsService : BaseService
    {
        public List<SendSms> Search()
        {
            return DbContext.SendSmses.ToList();
        }

        public SendSms SendSms(SendSms sms)
        {
            DbContext.SendSmses.Add(sms);
            DbContext.SaveChanges();
            return sms;
        } 
    }
}
